package com.terren.spider.db.service;

import com.terren.spider.entity.common.SpiderLog;

public interface SpiderLogService {
	
	/**
	 * 添加爬取日志，返回主键编号
	 * @param spiderLog
	 * @throws Exception
	 */
	public Integer addSpiderLog(SpiderLog spiderLog) throws Exception;
	/**
	 *添加爬取的结束时间和完成状态
	 * @param spiderLog
	 * @throws Exception
	 */
	public void updateSpiderLog(SpiderLog spiderLog) throws Exception;
	
	

	
}
